<template>
  <div class="beijingtupian">
    <el-card class="box-card">
      <h1>欢迎来到默默摸鱼组!</h1>
      <el-form>
        <el-form-item class="a1">
          <el-button type="danger" @click="glydl">管理登录</el-button>
        </el-form-item>
        <el-form-item class="a1">
          <el-button type="danger" @click="jsdl">教师登录</el-button>
        </el-form-item>
        <el-form-item class="a1">
          <el-button type="danger" @click="xsdl">学生登录</el-button>
        </el-form-item>
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  name: "kaishi",
  data() {
    return {};
  },
  methods: {
    glydl() {
      this.$router.push({ name: "glydl" });
    },
    jsdl() {
      this.$router.push({ name: "jsdl" });
    },
    xsdl() {
      this.$router.push({ name: "xsdl" });
    },
  },
};
</script>

<style scoped>
.el-table,
.el-table__expanded-cell {
  background-color: transparent;
}
body {
  margin: 0;
  padding: 0;
}
.beijingtupian {
  background-image: url("3.jpg");
  width: 100%;
  height: 100%;
  background-size: cover;
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
}
h1 {
  text-align: center;
  color: #fff;
  letter-spacing: 8px;
}
.box-card {
  width: 500px;
  height: 360px;
  border-radius: 20px;
  margin: 0px auto;
  /* padding-top: 200px; */
  border: 1px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(160, 72, 61, 0.822);
}
.a1 {
  border: 0px solid black;
  height: 60px;
  width: 100px;
  margin: 0px auto;
}
</style>